package com.shsxt.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Vip {
	private String number;
	private String time;
	private String state;
	private String phoneNumber;
	@Override
	public String toString() {
		return "Vip [number=" + number + ", time=" + time + ", state=" + state + ", phoneNumber=" + phoneNumber + "]";
	}
	public Vip(String number, String time, String state, String phoneNumber) {
		super();
		this.number = number;
		this.time = time;
		this.state = state;
		this.phoneNumber = phoneNumber;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(time);
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	

}
